Index
All Classes and Interfaces|All Packages
A
- activeSearchService - Variable in class com.fsf.news.actor.websocket.NewsWorkerActorTest
- actorSystem - Variable in class com.fsf.news.service.NewsServiceTest
- actorSystem - Variable in class com.fsf.news.service.NewsSourcesServiceTest
- actorSystem - Variable in class com.fsf.news.service.WebSocketServiceTest
- apiClient - Variable in class com.fsf.news.client.NewsApiClientTest
- apiClient - Variable in class com.fsf.news.service.NewsServiceTest
- apiClient - Variable in class com.fsf.news.service.NewsSourcesServiceTest
- arrayNode - Variable in class com.fsf.news.processor.NewsResponseProcessorTest
B
- beforeEach(ExtensionContext) - Method in class com.fsf.news.GuiceExtension
-
Injects dependencies into the test instance before each test.
C
- client - Variable in class com.fsf.news.actor.processor.NewsSourcesProcessorActorTest
- CollectionUtilsTest - Class in com.fsf.news.utils
-
Tests for the CollectionUtils class.
- CollectionUtilsTest() - Constructor for class com.fsf.news.utils.CollectionUtilsTest
- com.fsf.news - package com.fsf.news
- com.fsf.news.actor.processor - package com.fsf.news.actor.processor
- com.fsf.news.actor.websocket - package com.fsf.news.actor.websocket
- com.fsf.news.client - package com.fsf.news.client
- com.fsf.news.controller - package com.fsf.news.controller
- com.fsf.news.handler - package com.fsf.news.handler
- com.fsf.news.model.html - package com.fsf.news.model.html
- com.fsf.news.processor - package com.fsf.news.processor
- com.fsf.news.renderer - package com.fsf.news.renderer
- com.fsf.news.repository - package com.fsf.news.repository
- com.fsf.news.service - package com.fsf.news.service
- com.fsf.news.utils - package com.fsf.news.utils
- config - Variable in class com.fsf.news.client.NewsApiClientTest
- config - Variable in class com.fsf.news.processor.NewsSentimentProcessorTest
- controller - Variable in class com.fsf.news.controller.NewsControllerTest
D
- duration - Variable in class com.fsf.news.service.NewsServiceTest
- duration - Variable in class com.fsf.news.service.NewsSourcesServiceTest
- duration - Variable in class com.fsf.news.service.WebSocketServiceTest
E
- errorHandler - Variable in class com.fsf.news.handler.ErrorHandlerTest
- ErrorHandlerTest - Class in com.fsf.news.handler
-
Unit tests for ErrorHandler.
- ErrorHandlerTest() - Constructor for class com.fsf.news.handler.ErrorHandlerTest
- errorView - Variable in class com.fsf.news.controller.NewsControllerTest
- exception - Variable in class com.fsf.news.handler.ErrorHandlerTest
F
- factory - Variable in class com.fsf.news.actor.websocket.NewsGuardianWebSocketActorTest
- factory - Variable in class com.fsf.news.actor.websocket.NewsUserActorTest
- FileTestUtils - Class in com.fsf.news
-
Utility class for loading test resources from the classpath.
- FileTestUtils() - Constructor for class com.fsf.news.FileTestUtils
- fleschMetricsActorFactory - Variable in class com.fsf.news.actor.processor.NewsGuardianProcessorActorTest
- fleschMetricsProcessor - Variable in class com.fsf.news.processor.NewsFleschMetricsProcessorTest
- fleschMetricsProcessor - Variable in class com.fsf.news.service.NewsSourcesServiceTest
- FleschUtilsTest - Class in com.fsf.news.utils
-
Unit tests for the FleschUtils class.
- FleschUtilsTest() - Constructor for class com.fsf.news.utils.FleschUtilsTest
- flow - Variable in class com.fsf.news.service.WebSocketServiceTest
- form - Variable in class com.fsf.news.actor.websocket.NewsWorkerActorTest
- form - Variable in class com.fsf.news.client.NewsApiClientTest
- form - Variable in class com.fsf.news.controller.NewsControllerTest
- form - Variable in class com.fsf.news.repository.NewsActiveSearchRepositoryTest
- form - Variable in class com.fsf.news.service.NewsActiveSearchServiceTest
- form - Variable in class com.fsf.news.service.NewsServiceTest
- form - Variable in class com.fsf.news.service.NewsSourcesServiceTest
- formFactory - Variable in class com.fsf.news.controller.NewsControllerTest
- function - Variable in class com.fsf.news.controller.NewsControllerTest
G
- getField(Class<?>, String) - Static method in class com.fsf.news.ReflectionTestUtils
-
Retrieves a Field object from a class or its superclasses.
- getValue(Class<?>, String) - Static method in class com.fsf.news.ReflectionTestUtils
-
Retrieves the value of a static field from a class.
- getValue(Object, String) - Static method in class com.fsf.news.ReflectionTestUtils
-
Retrieves the value of a field from an object.
- GuiceExtension - Class in com.fsf.news
-
A JUnit extension that sets up Guice injection for tests that apply it.
- GuiceExtension() - Constructor for class com.fsf.news.GuiceExtension
H
- html - Variable in class com.fsf.news.actor.websocket.NewsWorkerActorTest
- html - Variable in class com.fsf.news.controller.NewsControllerTest
- HtmlElementTest - Class in com.fsf.news.model.html
-
Unit tests for the HtmlElement class.
- HtmlElementTest() - Constructor for class com.fsf.news.model.html.HtmlElementTest
- HtmlRendererTest - Class in com.fsf.news.renderer
-
Unit tests for the HtmlRenderer class.
- HtmlRendererTest() - Constructor for class com.fsf.news.renderer.HtmlRendererTest
I
- injector - Variable in class com.fsf.news.GuiceExtension
J
- jsonAcceptor - Variable in class com.fsf.news.controller.NewsControllerTest
- jsonNode - Variable in class com.fsf.news.client.NewsApiClientTest
- jsonNode - Variable in class com.fsf.news.processor.NewsResponseProcessorTest
- jsonNode - Variable in class com.fsf.news.service.NewsServiceTest
- jsonNode - Variable in class com.fsf.news.service.NewsSourcesServiceTest
L
- loadResource(String) - Static method in class com.fsf.news.FileTestUtils
-
Loads a resource file from the classpath as an input stream.
M
- messages - Variable in class com.fsf.news.controller.NewsControllerTest
- messagesApi - Variable in class com.fsf.news.controller.NewsControllerTest
N
- NewsActiveSearchRepositoryTest - Class in com.fsf.news.repository
-
Unit tests for the NewsActiveSearchRepository class.
- NewsActiveSearchRepositoryTest() - Constructor for class com.fsf.news.repository.NewsActiveSearchRepositoryTest
- NewsActiveSearchServiceTest - Class in com.fsf.news.service
-
Unit tests for the NewsActiveSearchService class.
- NewsActiveSearchServiceTest() - Constructor for class com.fsf.news.service.NewsActiveSearchServiceTest
- NewsApiClientTest - Class in com.fsf.news.client
-
Unit tests for the NewsApiClient class.
- NewsApiClientTest() - Constructor for class com.fsf.news.client.NewsApiClientTest
- NewsControllerTest - Class in com.fsf.news.controller
-
Unit tests for the NewsController class.
- NewsControllerTest() - Constructor for class com.fsf.news.controller.NewsControllerTest
- NewsFleschMetricsProcessorActorTest - Class in com.fsf.news.actor.processor
-
Unit tests for the NewsFleschMetricsProcessorActor class.
- NewsFleschMetricsProcessorActorTest() - Constructor for class com.fsf.news.actor.processor.NewsFleschMetricsProcessorActorTest
- NewsFleschMetricsProcessorTest - Class in com.fsf.news.processor
-
Unit tests for the NewsFleschMetricsProcessor class.
- NewsFleschMetricsProcessorTest() - Constructor for class com.fsf.news.processor.NewsFleschMetricsProcessorTest
- NewsGuardianProcessorActorTest - Class in com.fsf.news.actor.processor
-
Unit tests for the NewsGuardianProcessorActor class.
- NewsGuardianProcessorActorTest() - Constructor for class com.fsf.news.actor.processor.NewsGuardianProcessorActorTest
- NewsGuardianWebSocketActorTest - Class in com.fsf.news.actor.websocket
-
Unit tests for the NewsGuardianWebSocketActor class.
- NewsGuardianWebSocketActorTest() - Constructor for class com.fsf.news.actor.websocket.NewsGuardianWebSocketActorTest
- NewsRendererTest - Class in com.fsf.news.renderer
-
Unit tests for the NewsRenderer class.
- NewsRendererTest() - Constructor for class com.fsf.news.renderer.NewsRendererTest
- NewsRepositoryTest - Class in com.fsf.news.repository
-
Unit tests for the NewsRepository class.
- NewsRepositoryTest() - Constructor for class com.fsf.news.repository.NewsRepositoryTest
- NewsResponseProcessorTest - Class in com.fsf.news.processor
-
Unit tests for the NewsResponseProcessor class.
- NewsResponseProcessorTest() - Constructor for class com.fsf.news.processor.NewsResponseProcessorTest
- NewsSentimentProcessorActorTest - Class in com.fsf.news.actor.processor
-
Unit tests for the NewsSentimentProcessorActor class.
- NewsSentimentProcessorActorTest() - Constructor for class com.fsf.news.actor.processor.NewsSentimentProcessorActorTest
- NewsSentimentProcessorTest - Class in com.fsf.news.processor
-
Unit tests for the NewsSentimentProcessor class.
- NewsSentimentProcessorTest() - Constructor for class com.fsf.news.processor.NewsSentimentProcessorTest
- NewsServiceTest - Class in com.fsf.news.service
-
Unit tests for the NewsService class.
- NewsServiceTest() - Constructor for class com.fsf.news.service.NewsServiceTest
- NewsSourcesProcessorActorTest - Class in com.fsf.news.actor.processor
-
Unit tests for the NewsSourcesProcessorActor class.
- NewsSourcesProcessorActorTest() - Constructor for class com.fsf.news.actor.processor.NewsSourcesProcessorActorTest
- NewsSourcesRepositoryTest - Class in com.fsf.news.repository
-
Unit tests for the NewsSourcesRepository class.
- NewsSourcesRepositoryTest() - Constructor for class com.fsf.news.repository.NewsSourcesRepositoryTest
- NewsSourcesServiceTest - Class in com.fsf.news.service
-
Unit tests for the NewsSourcesService class.
- NewsSourcesServiceTest() - Constructor for class com.fsf.news.service.NewsSourcesServiceTest
- NewsUserActorTest - Class in com.fsf.news.actor.websocket
-
Unit tests for the NewsUserActor class.
- NewsUserActorTest() - Constructor for class com.fsf.news.actor.websocket.NewsUserActorTest
- NewsWordStatsProcessorActorTest - Class in com.fsf.news.actor.processor
-
Unit tests for the NewsWordStatsProcessorActor class.
- NewsWordStatsProcessorActorTest() - Constructor for class com.fsf.news.actor.processor.NewsWordStatsProcessorActorTest
- NewsWordStatsProcessorTest - Class in com.fsf.news.processor
-
Unit tests for the NewsWordStatsProcessor class.
- NewsWordStatsProcessorTest() - Constructor for class com.fsf.news.processor.NewsWordStatsProcessorTest
- NewsWorkerActorTest - Class in com.fsf.news.actor.websocket
-
Unit tests for the NewsWorkerActor class.
- NewsWorkerActorTest() - Constructor for class com.fsf.news.actor.websocket.NewsWorkerActorTest
- node - Variable in class com.fsf.news.actor.processor.NewsSourcesProcessorActorTest
- node - Variable in class com.fsf.news.actor.websocket.NewsUserActorTest
- node - Variable in class com.fsf.news.actor.websocket.NewsWorkerActorTest
O
- objectMapper - Variable in class com.fsf.news.actor.websocket.NewsUserActorTest
- objectMapper - Variable in class com.fsf.news.actor.websocket.NewsWorkerActorTest
- objectMapper - Variable in class com.fsf.news.processor.NewsResponseProcessorTest
- objectMapper - Variable in class com.fsf.news.renderer.NewsRendererTest
- objectMapper - Variable in class com.fsf.news.repository.NewsRepositoryTest
- objectMapper - Variable in class com.fsf.news.repository.NewsSourcesRepositoryTest
- objectNode - Variable in class com.fsf.news.processor.NewsResponseProcessorTest
- objectReader - Variable in class com.fsf.news.processor.NewsResponseProcessorTest
- otherException - Variable in class com.fsf.news.handler.ErrorHandlerTest
P
- processor - Variable in class com.fsf.news.actor.processor.NewsFleschMetricsProcessorActorTest
- processor - Variable in class com.fsf.news.actor.processor.NewsSentimentProcessorActorTest
- processor - Variable in class com.fsf.news.actor.processor.NewsSourcesProcessorActorTest
- processor - Variable in class com.fsf.news.actor.processor.NewsWordStatsProcessorActorTest
- processor - Variable in class com.fsf.news.processor.NewsResponseProcessorTest
- processor - Variable in class com.fsf.news.processor.NewsSentimentProcessorTest
- processor - Variable in class com.fsf.news.processor.NewsWordStatsProcessorTest
R
- ReflectionTestUtils - Class in com.fsf.news
-
Utility class for reflection operations.
- ReflectionTestUtils() - Constructor for class com.fsf.news.ReflectionTestUtils
- renderer - Variable in class com.fsf.news.actor.websocket.NewsWorkerActorTest
- renderer - Variable in class com.fsf.news.controller.NewsControllerTest
- renderer - Variable in class com.fsf.news.renderer.HtmlRendererTest
- renderer - Variable in class com.fsf.news.renderer.NewsRendererTest
- repository - Variable in class com.fsf.news.repository.NewsActiveSearchRepositoryTest
- repository - Variable in class com.fsf.news.repository.NewsRepositoryTest
- repository - Variable in class com.fsf.news.repository.NewsSourcesRepositoryTest
- repository - Variable in class com.fsf.news.service.NewsActiveSearchServiceTest
- repository - Variable in class com.fsf.news.service.NewsServiceTest
- request - Variable in class com.fsf.news.controller.NewsControllerTest
- request - Variable in class com.fsf.news.handler.ErrorHandlerTest
- request - Variable in class com.fsf.news.service.WebSocketServiceTest
- requestHeader - Variable in class com.fsf.news.controller.NewsControllerTest
- responseProcessor - Variable in class com.fsf.news.service.NewsServiceTest
- responseProcessor - Variable in class com.fsf.news.service.NewsSourcesServiceTest
- result - Variable in class com.fsf.news.controller.NewsControllerTest
- result - Variable in class com.fsf.news.handler.ErrorHandlerTest
- right - Variable in class com.fsf.news.controller.NewsControllerTest
- right - Variable in class com.fsf.news.service.WebSocketServiceTest
S
- scheduler - Variable in class com.fsf.news.service.NewsServiceTest
- scheduler - Variable in class com.fsf.news.service.NewsSourcesServiceTest
- scheduler - Variable in class com.fsf.news.service.WebSocketServiceTest
- sentimentActorFactory - Variable in class com.fsf.news.actor.processor.NewsGuardianProcessorActorTest
- sentimentProcessor - Variable in class com.fsf.news.service.NewsServiceTest
- service - Variable in class com.fsf.news.actor.websocket.NewsWorkerActorTest
- service - Variable in class com.fsf.news.controller.NewsControllerTest
- service - Variable in class com.fsf.news.service.NewsActiveSearchServiceTest
- service - Variable in class com.fsf.news.service.NewsServiceTest
- service - Variable in class com.fsf.news.service.WebSocketServiceTest
- session - Variable in class com.fsf.news.controller.NewsControllerTest
- setValue(Class<?>, String, Object) - Static method in class com.fsf.news.ReflectionTestUtils
-
Sets the value of a static field in a class.
- setValue(Object, String, Object) - Static method in class com.fsf.news.ReflectionTestUtils
-
Sets the value of a field in an object.
- sourceProfileView - Variable in class com.fsf.news.controller.NewsControllerTest
- sourcesActorFactory - Variable in class com.fsf.news.actor.processor.NewsGuardianProcessorActorTest
- sourcesForm - Variable in class com.fsf.news.client.NewsApiClientTest
- sourcesForm - Variable in class com.fsf.news.controller.NewsControllerTest
- sourcesRepository - Variable in class com.fsf.news.service.NewsSourcesServiceTest
- sourcesService - Variable in class com.fsf.news.controller.NewsControllerTest
- sourcesService - Variable in class com.fsf.news.service.NewsSourcesServiceTest
- StringUtilsTest - Class in com.fsf.news.utils
-
Unit tests for the StringUtils class.
- StringUtilsTest() - Constructor for class com.fsf.news.utils.StringUtilsTest
T
- testAddElement() - Method in class com.fsf.news.renderer.HtmlRendererTest
-
Tests that the addElement method adds an element and returns the renderer instance.
- testAddSearchResult() - Method in class com.fsf.news.service.NewsServiceTest
-
Tests that the addSearchResult method adds a search result and returns the expected result.
- testAddSearchResultException() - Method in class com.fsf.news.service.NewsActiveSearchServiceTest
-
Tests that the registerSearch method throws an exception when no session ID is provided.
- testAddSearchResultException() - Method in class com.fsf.news.service.NewsServiceTest
-
Tests that the addSearchResult method throws an exception when no session ID is provided.
- testAddSearchResultMessage() - Method in class com.fsf.news.actor.websocket.NewsWorkerActorTest
-
Tests that an AddSearchResult message correctly adds a single search result and replies back with an appropriate response.
- testAddSearchResultMessageExisting() - Method in class com.fsf.news.actor.websocket.NewsWorkerActorTest
-
Tests that the AddSearchResult message checks if a stream for a form is already active.
- testAddSearchResultMessagePastLimit() - Method in class com.fsf.news.actor.websocket.NewsWorkerActorTest
-
Tests that the AddSearchResult message enforces a processing limit when configured limit is exceeded.
- testAddSourcesResult() - Method in class com.fsf.news.service.NewsSourcesServiceTest
-
Tests that the addSourcesResult method adds a sources result and returns the expected result.
- testAddSourcesResultEmpty() - Method in class com.fsf.news.service.NewsSourcesServiceTest
-
Tests that the addSourcesResult method does not add a sources result that has no sources.
- testAddSourcesResultException() - Method in class com.fsf.news.service.NewsSourcesServiceTest
-
Tests that the addSourcesResult method throws an exception when no session ID is provided.
- testCleanAndTokenizeWords() - Static method in class com.fsf.news.utils.TextUtilsTest
-
Provides test data for the testCleanAndTokenizeWords method.
- testCleanAndTokenizeWords(String, List<String>) - Method in class com.fsf.news.utils.TextUtilsTest
-
Tests the cleanAndTokenizeWords method with various inputs.
- testClearSession() - Method in class com.fsf.news.repository.NewsActiveSearchRepositoryTest
-
Tests that the clearSession method removes all active searches for a non-empty session.
- testClearSession() - Method in class com.fsf.news.repository.NewsRepositoryTest
-
Tests that the clearSession method removes all search results for a non-empty session.
- testClearSession() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
-
Tests that the clearSession method removes all sources results for a non-empty session.
- testClearSession() - Method in class com.fsf.news.service.NewsActiveSearchServiceTest
-
Tests that the clearSession method removes all searches for a given session.
- testClearSessionEmpty() - Method in class com.fsf.news.repository.NewsActiveSearchRepositoryTest
-
Tests that the clearSession method works correctly for an already empty session.
- testClearSessionEmpty() - Method in class com.fsf.news.repository.NewsRepositoryTest
-
Tests that the clearSession method works correctly for an already empty session.
- testClearSessionEmpty() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
-
Tests that the clearSession method works correctly for an already empty session.
- testClearSessionException() - Method in class com.fsf.news.service.NewsActiveSearchServiceTest
-
Tests that the clearSession method throws an exception when no session ID is provided.
- testCloseMessage() - Method in class com.fsf.news.actor.websocket.NewsUserActorTest
-
Tests that sending a Close message terminates the user actor session.
- testCloseMessageWithWorker() - Method in class com.fsf.news.actor.websocket.NewsUserActorTest
-
Confirms proper termination of the user actor along with a stopped worker.
- testCollapseConsecutiveSymbols() - Static method in class com.fsf.news.utils.StringUtilsTest
-
Provides test data for the testCollapseConsecutiveSymbols method.
- testCollapseConsecutiveSymbols(String, String) - Method in class com.fsf.news.utils.StringUtilsTest
-
Tests that consecutive symbols are correctly collapsed in a string.
- testComputeFleschMetrics() - Static method in class com.fsf.news.utils.FleschUtilsTest
-
Provides test data for the testComputeFleschMetrics test method.
- testComputeFleschMetrics(String, FleschMetrics) - Method in class com.fsf.news.utils.FleschUtilsTest
-
Tests the computeFleschMetrics method with various input texts.
- testConnection() - Method in class com.fsf.news.service.WebSocketServiceTest
-
Tests that connection method returns the expected Flow wrapped in Either.
- testConnectMessageCreateMultipleUserSessions() - Method in class com.fsf.news.actor.websocket.NewsGuardianWebSocketActorTest
-
Tests that multiple Connect messages create multiple user sessions.
- testConnectMessageCreateUserSession() - Method in class com.fsf.news.actor.websocket.NewsGuardianWebSocketActorTest
-
Tests that a Connect message creates a new user session.
- testConnectMessageDuplicateUserSessions() - Method in class com.fsf.news.actor.websocket.NewsGuardianWebSocketActorTest
-
Tests that duplicate Connect messages for the same session are handled correctly.
- testConnectMessageSupervision() - Method in class com.fsf.news.actor.websocket.NewsGuardianWebSocketActorTest
-
Tests that the actor restarts a user session on failure.
- testConnectMessageSupervisionRetryLimit() - Method in class com.fsf.news.actor.websocket.NewsGuardianWebSocketActorTest
-
Tests that supervision retries stop after the configured retry limit.
- testCountSentences() - Static method in class com.fsf.news.utils.TextUtilsTest
-
Provides test data for the testCountSentences method.
- testCountSentences(String, long) - Method in class com.fsf.news.utils.TextUtilsTest
-
Tests the countSentences method with various inputs.
- testCountSyllables() - Static method in class com.fsf.news.utils.TextUtilsTest
-
Provides test data for the testCountSyllables method.
- testCountSyllables(String, long) - Method in class com.fsf.news.utils.TextUtilsTest
-
Tests the countSyllables method with various inputs.
- testCountWords() - Static method in class com.fsf.news.utils.TextUtilsTest
-
Provides test data for the testCountWords method.
- testCountWords(String, long) - Method in class com.fsf.news.utils.TextUtilsTest
-
Tests the countWords method with various inputs.
- testCreateMessage() - Method in class com.fsf.news.actor.websocket.NewsUserActorTest
-
Tests that a Create message triggers creation of a worker session via the factory.
- testCreateMessageFlowToWorker() - Method in class com.fsf.news.actor.websocket.NewsUserActorTest
-
Tests that a WebSocket flow forwards messages to the corresponding worker.
- testCreateMessageMultipleDuplicateUserSesssions() - Method in class com.fsf.news.actor.websocket.NewsUserActorTest
-
Tests that multiple duplicate Create messages use the same WebSocket flow.
- testCreateMessageSupervision() - Method in class com.fsf.news.actor.websocket.NewsUserActorTest
-
Tests supervision of a worker actor, ensuring it restarts after failure.
- testCreateMessageSupervisionRetryLimit() - Method in class com.fsf.news.actor.websocket.NewsUserActorTest
-
Confirms that retries stop after reaching the configured limit.
- testDefaultString() - Static method in class com.fsf.news.utils.StringUtilsTest
-
Provides test data for the testDefaultString method.
- testDefaultString(String, String) - Method in class com.fsf.news.utils.StringUtilsTest
-
Tests that the input is returned as is when non-null and as an empty string when null.
- testDefaultStringWithDefault() - Static method in class com.fsf.news.utils.StringUtilsTest
-
Provides test data for the testDefaultStringWithDefault method.
- testDefaultStringWithDefault(String, String, String) - Method in class com.fsf.news.utils.StringUtilsTest
-
Tests that the input is returned as is when non-null and as the provided default string when null.
- testDeleteById() - Method in class com.fsf.news.repository.NewsActiveSearchRepositoryTest
-
Tests that deleteById removes the correct search.
- testDeleteById() - Method in class com.fsf.news.repository.NewsRepositoryTest
-
Tests that deleteById removes the correct result.
- testDeleteById() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
-
Tests that the deleteById method throws an UnsupportedOperationException.
- testDeleteByIdDifferentSession() - Method in class com.fsf.news.repository.NewsActiveSearchRepositoryTest
-
Tests that deleteById does not remove searches from other sessions.
- testDeleteByIdDifferentSession() - Method in class com.fsf.news.repository.NewsRepositoryTest
-
Tests that deleteById does not remove results from other sessions.
- testDeleteByIdEmpty() - Method in class com.fsf.news.repository.NewsActiveSearchRepositoryTest
-
Tests that deleteById does not fail for non-existent searches.
- testDeleteByIdEmpty() - Method in class com.fsf.news.repository.NewsRepositoryTest
-
Tests that deleteById does not fail for non-existent results.
- testError() - Method in class com.fsf.news.controller.NewsControllerTest
-
Tests that the error method renders the error HTML view.
- testFindAll() - Method in class com.fsf.news.repository.NewsActiveSearchRepositoryTest
-
Tests that the findAll method returns the expected active searches when available.
- testFindAll() - Method in class com.fsf.news.repository.NewsRepositoryTest
-
Tests that the findAll method returns the expected search results when available.
- testFindAll() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
-
Tests that the findAll method returns the expected sources results when available.
- testFindAllArticles() - Method in class com.fsf.news.repository.NewsRepositoryTest
-
Tests that the findAllArticles method returns the expected articles when available.
- testFindAllArticlesDifferentSession() - Method in class com.fsf.news.repository.NewsRepositoryTest
-
Tests that the findAllArticles method returns an empty list when searching for articles in a different session.
- testFindAllArticlesEmpty() - Method in class com.fsf.news.repository.NewsRepositoryTest
-
Tests that the findAllArticles method returns an empty list when no articles are available.
- testFindAllBeyondCapacity() - Method in class com.fsf.news.repository.NewsActiveSearchRepositoryTest
-
Tests that the findAll method returns the expected active searches when the maximum capacity is exceeded.
- testFindAllBeyondCapacity() - Method in class com.fsf.news.repository.NewsRepositoryTest
-
Tests that the findAll method returns the expected search results when the maximum capacity is exceeded.
- testFindAllBeyondCapacity() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
-
Tests that the findAll method returns the expected sources results when the maximum capacity is exceeded.
- testFindAllDifferentSession() - Method in class com.fsf.news.repository.NewsActiveSearchRepositoryTest
-
Tests that the findAll method returns an empty list when searching for active searches in a different session.
- testFindAllDifferentSession() - Method in class com.fsf.news.repository.NewsRepositoryTest
-
Tests that the findAll method returns an empty list when searching for search results in a different session.
- testFindAllDifferentSession() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
-
Tests that the findAll method returns an empty list when searching for sources results in a different session.
- testFindAllEmpty() - Method in class com.fsf.news.repository.NewsActiveSearchRepositoryTest
-
Tests that the findAll method returns an empty list when no active searches are available.
- testFindAllEmpty() - Method in class com.fsf.news.repository.NewsRepositoryTest
-
Tests that the findAll method returns an empty list when no search results are available.
- testFindAllEmpty() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
-
Tests that the findAll method returns an empty list when no sources results are available.
- testFindAllMaxCapacity() - Method in class com.fsf.news.repository.NewsActiveSearchRepositoryTest
-
Tests that the findAll method returns the expected active searches when the maximum capacity is reached.
- testFindAllMaxCapacity() - Method in class com.fsf.news.repository.NewsRepositoryTest
-
Tests that the findAll method returns the expected search results when the maximum capacity is reached.
- testFindAllMaxCapacity() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
-
Tests that the findAll method returns the expected sources results when the maximum capacity is reached.
- testFindAllSources() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
-
Tests that the findAllSources method returns the expected sources when available.
- testFindAllSourcesDifferentSession() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
-
Tests that the findAllSources method returns an empty list when searching for sources in a different session.
- testFindAllSourcesEmpty() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
-
Tests that the findAllSources method returns an empty list when no sources are available.
- testFindbyId() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
-
Tests that the findById method throws an UnsupportedOperationException.
- testFindById() - Method in class com.fsf.news.repository.NewsActiveSearchRepositoryTest
-
Tests that the findById method returns the expected active search when available.
- testFindById() - Method in class com.fsf.news.repository.NewsRepositoryTest
-
Tests that the findById method returns the expected search result when available.
- testFindByIdDifferentSession() - Method in class com.fsf.news.repository.NewsActiveSearchRepositoryTest
-
Tests that the findById method returns an empty optional when searching for an active search in a different session.
- testFindByIdDifferentSession() - Method in class com.fsf.news.repository.NewsRepositoryTest
-
Tests that the findById method returns an empty optional when searching for a search result in a different session.
- testFindByIdEmpty() - Method in class com.fsf.news.repository.NewsActiveSearchRepositoryTest
-
Tests that the findById method returns an empty optional when no active search is available.
- testFindByIdEmpty() - Method in class com.fsf.news.repository.NewsRepositoryTest
-
Tests that the findById method returns an empty optional when no search result is available.
- testGetActiveSearch() - Method in class com.fsf.news.service.NewsActiveSearchServiceTest
-
Tests that the getActiveSearch method returns the expected result.
- testGetActiveSearches() - Method in class com.fsf.news.service.NewsActiveSearchServiceTest
-
Tests that the getActiveSearches method returns the expected results.
- testGetActiveSearchesException() - Method in class com.fsf.news.service.NewsActiveSearchServiceTest
-
Tests that the getActiveSearches method throws an exception when no session ID is provided.
- testGetActiveSearchException() - Method in class com.fsf.news.service.NewsActiveSearchServiceTest
-
Tests that the getActiveSearch method throws an exception when no session ID is provided.
- testGetElements() - Method in class com.fsf.news.renderer.HtmlRendererTest
-
Tests that the getElements method returns the expected elements when available.
- testGetElementsEmpty() - Method in class com.fsf.news.renderer.HtmlRendererTest
-
Tests that the getElements method returns an empty list when no elements are available.
- testGetSearchResults() - Method in class com.fsf.news.service.NewsServiceTest
-
Tests that the getSearchResults method returns the expected results.
- testGetSearchResultsException() - Method in class com.fsf.news.service.NewsServiceTest
-
Tests that the getSearchResults method throws an exception when no session ID is provided.
- testGetSearchResultWordStats() - Method in class com.fsf.news.service.NewsServiceTest
-
Tests that the getSearchResultWordStats method returns the expected word statistics for a given search result.
- testGetSearchResultWordStatsEmpty() - Method in class com.fsf.news.service.NewsServiceTest
-
Tests that the getSearchResultWordStats method throws an exception when no search result is found.
- testGetSearchResultWordStatsException() - Method in class com.fsf.news.service.NewsServiceTest
-
Tests that the getSearchResultWordStats method throws an exception when no session ID is provided.
- testGetSourceProfile() - Method in class com.fsf.news.service.NewsSourcesServiceTest
-
Tests that the getSourceProfile method returns the expected result.
- testGetSourcesResults() - Method in class com.fsf.news.service.NewsSourcesServiceTest
-
Tests that the getSourcesResults method returns the expected results.
- testGetSourcesResultsException() - Method in class com.fsf.news.service.NewsSourcesServiceTest
-
Tests that the getSourcesResults method throws an exception when no session ID is provided.
- testIndex() - Method in class com.fsf.news.controller.NewsControllerTest
-
Tests that the index method redirects to the NotiLytics page.
- testInvokeNewsApiEverything() - Method in class com.fsf.news.client.NewsApiClientTest
-
Tests the invokeNewsApiEverything method using mock data.
- testInvokeNewsApiNewsForm() - Method in class com.fsf.news.client.NewsApiClientTest
-
Tests the invokeNewsApi method with a NewsForm using mock data.
- testInvokeNewsApiNewsSourcesForm() - Method in class com.fsf.news.client.NewsApiClientTest
-
Tests the invokeNewsApi method with a NewsSourcesForm using mock data.
- testInvokeNewsApiSources() - Method in class com.fsf.news.client.NewsApiClientTest
-
Tests the invokeNewsApiSources method using mock data.
- testIsBlank() - Static method in class com.fsf.news.utils.StringUtilsTest
-
Provides test data for the testIsBlank method.
- testIsBlank(String) - Method in class com.fsf.news.utils.StringUtilsTest
-
Tests that a string is considered blank if it is null or empty.
- testIsEmpty() - Static method in class com.fsf.news.utils.CollectionUtilsTest
-
Provides test data for the testIsEmpty method.
- testIsEmpty(Collection<?>) - Method in class com.fsf.news.utils.CollectionUtilsTest
-
Tests that a collection is considered empty if it is null or contains no elements.
- testIsNotBlank() - Static method in class com.fsf.news.utils.StringUtilsTest
-
Provides test data for the testIsNotBlank method.
- testIsNotBlank(String) - Method in class com.fsf.news.utils.StringUtilsTest
-
Tests that a string is not considered blank if it is not null or empty.
- testIsNotEmpty() - Static method in class com.fsf.news.utils.CollectionUtilsTest
-
Provides test data for the testIsNotEmpty method.
- testIsNotEmpty(Collection<?>) - Method in class com.fsf.news.utils.CollectionUtilsTest
-
Tests that a collection is not considered empty if it is not null or contains elements.
- testKit - Variable in class com.fsf.news.actor.processor.NewsFleschMetricsProcessorActorTest
- testKit - Variable in class com.fsf.news.actor.processor.NewsGuardianProcessorActorTest
- testKit - Variable in class com.fsf.news.actor.processor.NewsSentimentProcessorActorTest
- testKit - Variable in class com.fsf.news.actor.processor.NewsSourcesProcessorActorTest
- testKit - Variable in class com.fsf.news.actor.processor.NewsWordStatsProcessorActorTest
- testKit - Variable in class com.fsf.news.actor.websocket.NewsGuardianWebSocketActorTest
- testKit - Variable in class com.fsf.news.actor.websocket.NewsUserActorTest
- testKit - Variable in class com.fsf.news.actor.websocket.NewsWorkerActorTest
- testNotilyticsExistingSession() - Method in class com.fsf.news.controller.NewsControllerTest
-
Tests that the notilytics method renders the NotiLytics HTML view with an existing session.
- testNotilyticsNewSession() - Method in class com.fsf.news.controller.NewsControllerTest
-
Tests that the notilytics method renders the NotiLytics HTML view with a new session.
- testOnClientError() - Method in class com.fsf.news.handler.ErrorHandlerTest
-
Tests onClientError.
- testOnServerErrorExceptionWithResponseStatus() - Method in class com.fsf.news.handler.ErrorHandlerTest
-
Tests onServerError with ResponseStatus annotation.
- testOnServerErrorOtherException() - Method in class com.fsf.news.handler.ErrorHandlerTest
-
Tests onServerError with other exception.
- testProcessFleschMetrics() - Method in class com.fsf.news.processor.NewsFleschMetricsProcessorTest
-
Tests the processFleschMetrics method with a search result containing multiple articles.
- testProcessFleschMetricsNoArticles() - Method in class com.fsf.news.processor.NewsFleschMetricsProcessorTest
-
Tests the processFleschMetrics method with a search result containing no articles.
- testProcessFleschMetricsZero() - Method in class com.fsf.news.processor.NewsFleschMetricsProcessorTest
-
Tests the processFleschMetrics method with a search result containing a single article with Flesch metrics of zero value.
- testProcessorRequestMessageFleschMetrics() - Method in class com.fsf.news.actor.processor.NewsGuardianProcessorActorTest
-
Tests that a FleschMetrics request message is forwarded to a flesch metrics actor.
- testProcessorRequestMessageFleschMetricsSupervision() - Method in class com.fsf.news.actor.processor.NewsGuardianProcessorActorTest
-
Tests that the Flesch metrics actor pool restarts on failure.
- testProcessorRequestMessageFleschMetricsSupervisionRetryLimit() - Method in class com.fsf.news.actor.processor.NewsGuardianProcessorActorTest
-
Tests that supervision retries stop after the configured retry limit.
- testProcessorRequestMessageNewsSources() - Method in class com.fsf.news.actor.processor.NewsGuardianProcessorActorTest
-
Tests that a AddSource request message is forwarded to a sources actor.
- testProcessorRequestMessageNewsSourcesSupervision() - Method in class com.fsf.news.actor.processor.NewsGuardianProcessorActorTest
-
Tests that the sources actor pool restarts on failure.
- testProcessorRequestMessageNewsSourcesSupervisionRetryLimit() - Method in class com.fsf.news.actor.processor.NewsGuardianProcessorActorTest
-
Tests that supervision retries stop after the configured retry limit.
- testProcessorRequestMessageSentiment() - Method in class com.fsf.news.actor.processor.NewsGuardianProcessorActorTest
-
Tests that a Sentiment request message is forwarded to a sentiment actor.
- testProcessorRequestMessageSentimentSupervision() - Method in class com.fsf.news.actor.processor.NewsGuardianProcessorActorTest
-
Tests that the Sentiment actor pool restarts on failure.
- testProcessorRequestMessageSentimentSupervisionRetryLimit() - Method in class com.fsf.news.actor.processor.NewsGuardianProcessorActorTest
-
Tests that supervision retries stop after the configured retry limit.
- testProcessorRequestMessageWordStats() - Method in class com.fsf.news.actor.processor.NewsGuardianProcessorActorTest
-
Tests that a WordStats request message is forwarded to a word stats actor.
- testProcessorRequestMessageWordStatsSupervision() - Method in class com.fsf.news.actor.processor.NewsGuardianProcessorActorTest
-
Tests that the word stats actor pool restarts on failure.
- testProcessorRequestMessageWordStatsSupervisionRetryLimit() - Method in class com.fsf.news.actor.processor.NewsGuardianProcessorActorTest
-
Tests that supervision retries stop after the configured retry limit.
- testProcessRequestMessageFleschMetrics() - Method in class com.fsf.news.actor.processor.NewsFleschMetricsProcessorActorTest
-
Tests that a FleschMetrics request message is replied by an appropriate response.
- testProcessRequestMessageFleschMetricsException() - Method in class com.fsf.news.actor.processor.NewsFleschMetricsProcessorActorTest
-
Tests that a FleschMetrics request message is replied by an appropriate response in case of failure.
- testProcessRequestMessageNewsSourcesAddSourceComplete() - Method in class com.fsf.news.actor.processor.NewsSourcesProcessorActorTest
-
Tests that an AddSource request message is handled appropriately on successful execution.
- testProcessRequestMessageNewsSourcesAddSourceFailed() - Method in class com.fsf.news.actor.processor.NewsSourcesProcessorActorTest
-
Tests that an AddSource request message is handled appropriately on failed execution.
- testProcessRequestMessageSentiment() - Method in class com.fsf.news.actor.processor.NewsSentimentProcessorActorTest
-
Tests that a Sentiment request message is replied by an appropriate response.
- testProcessRequestMessageSentimentException() - Method in class com.fsf.news.actor.processor.NewsSentimentProcessorActorTest
-
Tests that a Sentiment request message is replied by an appropriate response in case of failure.
- testProcessRequestMessageWordStats() - Method in class com.fsf.news.actor.processor.NewsWordStatsProcessorActorTest
-
Tests that a WordStats request message is replied by an appropriate response.
- testProcessRequestMessageWordStatsException() - Method in class com.fsf.news.actor.processor.NewsWordStatsProcessorActorTest
-
Tests that a WordStats request message is replied by an appropriate response in case of failure.
- testProcessResponse() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
-
Tests that the processResponse method returns the expected results.
- testProcessResponseExceptionArticle() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
-
Tests that the processResponse method throws exceptionally from processing the response to an Article.
- testProcessResponseExceptionSearchResult() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
-
Tests that the processResponse method throws exceptionally from processing the response to a SearchResult.
- testProcessSentimentAverageNeutral() - Method in class com.fsf.news.processor.NewsSentimentProcessorTest
-
Tests that a list of a two articles with a varying descriptions yields an overall neutral sentiment.
- testProcessSentimentHappy() - Method in class com.fsf.news.processor.NewsSentimentProcessorTest
-
Tests that a list of a single article with a happy description yields an overall happy sentiment.
- testProcessSentimentNeutral() - Method in class com.fsf.news.processor.NewsSentimentProcessorTest
-
Tests that a list of a single article with a neutral description yields an overall neutral sentiment.
- testProcessSentimentNeutralThresholdHappy() - Method in class com.fsf.news.processor.NewsSentimentProcessorTest
-
Tests that a list of a single article with a not enough happy description yields an overall neutral sentiment.
- testProcessSentimentNeutralThresholdSad() - Method in class com.fsf.news.processor.NewsSentimentProcessorTest
-
Tests that a list of a single article with a not enough sad description yields an overall neutral sentiment.
- testProcessSentimentNoArticles() - Method in class com.fsf.news.processor.NewsSentimentProcessorTest
-
Tests that an empty list of articles yields an overall neutral sentiment.
- testProcessSentimentSad() - Method in class com.fsf.news.processor.NewsSentimentProcessorTest
-
Tests that a list of a single article with a sad description yields an overall sad sentiment.
- testProcessSourceProfileResponsesArticleException() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
-
Tests that the processSourceProfileResponses method throws ResponseProcessingException when article processing fails.
- testProcessSourceProfileResponsesNormal() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
-
Tests that the processSourceProfileResponses method returns the expected results.
- testProcessSourceProfileResponsesSourceException() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
-
Tests that the processSourceProfileResponses method throws ResponseProcessingException when source processing fails.
- testProcessSourceProfileResponsesSourceNotFound() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
-
Tests that the processSourceProfileResponses method returns a default source when the specified source is not found.
- testProcessSourcesResponse() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
-
Tests that the processSourcesResponse method returns the expected results.
- testProcessSourcesResponseExceptionSource() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
-
Tests that the processSourcesResponse method throws exceptionally from processing the response to a Source.
- testProcessSourcesResponseExceptionSourcesResult() - Method in class com.fsf.news.processor.NewsResponseProcessorTest
-
Tests that the processSourcesResponse method throws exceptionally from processing the response to a SourcesResult.
- testProcessWordStatsEmpty() - Method in class com.fsf.news.processor.NewsWordStatsProcessorTest
-
Tests that the processWordStats method processes word statistics from articles.
- testProcessWordStatsExists() - Method in class com.fsf.news.processor.NewsWordStatsProcessorTest
-
Tests that the processWordStats method returns existing word statistics.
- testRegisterSearch() - Method in class com.fsf.news.service.NewsActiveSearchServiceTest
-
Tests that the registerSearch method registers a search and returns the expected result.
- testRemoveActiveSearch() - Method in class com.fsf.news.service.NewsActiveSearchServiceTest
-
Tests that the removeActiveSearch method deletes a search identified by its form.
- testRemoveActiveSearchException() - Method in class com.fsf.news.service.NewsActiveSearchServiceTest
-
Tests that the removeActiveSearch method throws an exception when no session ID is provided.
- testRemoveHtmlTags() - Static method in class com.fsf.news.utils.StringUtilsTest
-
Provides test data for the testRemoveHtmlTags method.
- testRemoveHtmlTags(String, String) - Method in class com.fsf.news.utils.StringUtilsTest
-
Tests that HTML tags are correctly removed from a string.
- testRemoveLeadingTrailingSymbols() - Static method in class com.fsf.news.utils.StringUtilsTest
-
Provides test data for the testRemoveLeadingTrailingSymbols method.
- testRemoveLeadingTrailingSymbols(String, String) - Method in class com.fsf.news.utils.StringUtilsTest
-
Tests that leading and trailing symbols are correctly removed from a string.
- testRemoveLoneSymbols() - Static method in class com.fsf.news.utils.StringUtilsTest
-
Provides test data for the testRemoveLoneSymbols method.
- testRemoveLoneSymbols(String, String) - Method in class com.fsf.news.utils.StringUtilsTest
-
Tests that lone symbols are correctly removed from a string.
- testRemoveNonWordSymbols() - Static method in class com.fsf.news.utils.StringUtilsTest
-
Provides test data for the testRemoveNonWordSymbols method.
- testRemoveNonWordSymbols(String, String) - Method in class com.fsf.news.utils.StringUtilsTest
-
Tests that non-alphanumeric characters are correctly replaced with spaces in a string.
- testRemoveSearchResult() - Method in class com.fsf.news.service.NewsServiceTest
-
Tests that the removeSearchResult method deletes a search result identified by its UUID.
- testRemoveSearchResultException() - Method in class com.fsf.news.service.NewsServiceTest
-
Tests that the removeSearchResult method throws an exception when no session ID is provided.
- testRemoveUnderscoreSymbols() - Static method in class com.fsf.news.utils.StringUtilsTest
-
Provides test data for the testRemoveUnderscoreSymbols method.
- testRemoveUnderscoreSymbols(String, String) - Method in class com.fsf.news.utils.StringUtilsTest
-
Tests that underscore symbols are correctly removed from a string.
- testRenderEmpty() - Method in class com.fsf.news.renderer.HtmlRendererTest
-
Tests that the render method returns an empty string when no elements are added.
- testRenderEmptyElement() - Method in class com.fsf.news.renderer.HtmlRendererTest
-
Tests that the render method returns the expected HTML when an empty element is added.
- testRenderSearchResults() - Method in class com.fsf.news.renderer.NewsRendererTest
-
Tests that the renderSearchResults method generates the expected HTML for a list of search results.
- testRenderSearchResultsEmpty() - Method in class com.fsf.news.renderer.NewsRendererTest
-
Tests that the renderSearchResults method generates an empty HTML string for an empty list of search results.
- testRenderSourceProfile() - Method in class com.fsf.news.renderer.NewsRendererTest
-
Tests that the renderSourceProfile method generates the expected HTML for a source profile.
- testRenderSourcesResults() - Method in class com.fsf.news.renderer.NewsRendererTest
-
Tests that the renderSourcesResults method generates the expected HTML for a list of sources results.
- testRenderSourcesResultsEmpty() - Method in class com.fsf.news.renderer.NewsRendererTest
-
Tests that the renderSourcesResults method generates an empty HTML string when provided with an empty list of sources results.
- testReplaceSingleQuotes() - Static method in class com.fsf.news.utils.StringUtilsTest
-
Provides test data for the testReplaceSingleQuotes method.
- testReplaceSingleQuotes(String, String) - Method in class com.fsf.news.utils.StringUtilsTest
-
Tests that single quotes are correctly replaced in a string.
- testRestoreSearchesMessage() - Method in class com.fsf.news.actor.websocket.NewsWorkerActorTest
-
Tests that the RestoreSearches message restores back active searches.
- testSameOriginCheck() - Method in class com.fsf.news.service.WebSocketServiceTest
-
Tests that sameOriginCheck returns true for allowed hosts.
- testSameOriginCheckDifferent() - Method in class com.fsf.news.service.WebSocketServiceTest
-
Tests that sameOriginCheck returns false for disallowed hosts.
- testSave() - Method in class com.fsf.news.repository.NewsActiveSearchRepositoryTest
-
Tests that the save method adds an active search and returns the expected active search.
- testSave() - Method in class com.fsf.news.repository.NewsRepositoryTest
-
Tests that the save method adds a search result and returns the expected search result.
- testSave() - Method in class com.fsf.news.repository.NewsSourcesRepositoryTest
-
Tests that the save method adds a sources result and returns the expected sources result.
- testSaveReplaceExisting() - Method in class com.fsf.news.repository.NewsActiveSearchRepositoryTest
-
Tests that the save method replaces a previously saved active search and returns the expected active search.
- testSearch() - Method in class com.fsf.news.controller.NewsControllerTest
-
Tests that the search method searches for news based on the provided form data and returns the rendered NotiLytics HTML view.
- testSearchInvalidSessionException() - Method in class com.fsf.news.controller.NewsControllerTest
-
Tests that the search method throws an InvalidSessionException when no session ID is available.
- testSocket() - Method in class com.fsf.news.controller.NewsControllerTest
-
Tests the socket endpoint for WebSocket connection handling.
- testSourceByName() - Method in class com.fsf.news.controller.NewsControllerTest
-
Tests that the sourceByName method retrieves a source profile and renders the corresponding HTML view.
- testSources() - Method in class com.fsf.news.controller.NewsControllerTest
-
Tests that the sources method searches for sources based on the provided form data and returns the rendered NotiLytics HTML view.
- testSourcesInvalidSessionException() - Method in class com.fsf.news.controller.NewsControllerTest
-
Tests that the sources method throws an InvalidSessionException when no session ID is available.
- testSplitTokens() - Static method in class com.fsf.news.utils.StringUtilsTest
-
Provides test data for the testSplitTokens method.
- testSplitTokens(String, String[]) - Method in class com.fsf.news.utils.StringUtilsTest
-
Tests that a string is correctly split into tokens.
- testToHtmlPairedTag() - Method in class com.fsf.news.model.html.HtmlElementTest
-
Tests that the toHtml method generates the expected HTML for a paired tag.
- testToHtmlSingularTag() - Method in class com.fsf.news.model.html.HtmlElementTest
-
Tests that the toHtml method generates the expected HTML for a singular tag.
- testToHtmlWithProperties() - Method in class com.fsf.news.model.html.HtmlElementTest
-
Tests that the toHtml method generates the expected HTML when properties are present.
- testUpdateLatestResult() - Method in class com.fsf.news.service.NewsActiveSearchServiceTest
-
Tests that the updateLatestResult method updates an existing active search.
- testUpdateLatestResultEmpty() - Method in class com.fsf.news.service.NewsActiveSearchServiceTest
-
Tests that the updateLatestResult method creates a new active search when no existing search is found.
- testUpdateLatestResultException() - Method in class com.fsf.news.service.NewsActiveSearchServiceTest
-
Tests that the updateLatestResult method throws an exception when no session ID is provided.
- testWordStats() - Method in class com.fsf.news.controller.NewsControllerTest
-
Tests that the wordStats method retrieves and renders word statistics.
- testWordStatsInvalidSesionException() - Method in class com.fsf.news.controller.NewsControllerTest
-
Tests that the wordStats method throws an InvalidSessionException when no session ID is available.
- testWrapDoubleQuotes() - Static method in class com.fsf.news.utils.StringUtilsTest
-
Provides test data for the testWrapDoubleQuotes method.
- testWrapDoubleQuotes(String, String) - Method in class com.fsf.news.utils.StringUtilsTest
-
Tests that a string is correctly wrapped in double quotes.
- TextUtilsTest - Class in com.fsf.news.utils
-
Tests for the TextUtils class.
- TextUtilsTest() - Constructor for class com.fsf.news.utils.TextUtilsTest
V
- view - Variable in class com.fsf.news.controller.NewsControllerTest
W
- webSocket - Variable in class com.fsf.news.controller.NewsControllerTest
- webSocketService - Variable in class com.fsf.news.controller.NewsControllerTest
- WebSocketServiceTest - Class in com.fsf.news.service
-
Unit tests for the WebSocketService class.
- WebSocketServiceTest() - Constructor for class com.fsf.news.service.WebSocketServiceTest
- wordStatsActorFactory - Variable in class com.fsf.news.actor.processor.NewsGuardianProcessorActorTest
- wordStatsView - Variable in class com.fsf.news.controller.NewsControllerTest
- wsClient - Variable in class com.fsf.news.client.NewsApiClientTest
- wsRequest - Variable in class com.fsf.news.client.NewsApiClientTest
- wsResponse - Variable in class com.fsf.news.client.NewsApiClientTest
All Classes and Interfaces|All Packages